package com.alibaba.ecool.util;

public class RegExpression {
	public final static String REG_int = "^\\d*$";
	public final static String REG_float = "^\\d+(\\.\\d+)?$";
	public final static String REG_date = "^[\\d]{4}([-][\\d]{2}){2}$";
	public final static String REG_time = "^[\\d]{4}([-][\\d]{2}){2}([ ][12]{1}[\\d]{1}([:][123456]{1}[\\d]{1}){2}){1}$";
	public final static String REG_datetime = "^[\\d]{4}([-][\\d]{2}){2}([ ][12]{1}[\\d]{1}([:][123456]{1}[\\d]{1}){2}){1}$";
	public final static String REG_email = "^[\\w\\d]+@[\\w\\d]+(\\.[\\w\\d]+)+$";
	public final static String REG_url = "^[\\w]+[:][/]{2}([\\w]+\\.)+([\\w]+[/])+[\\w\\.]*$";

}
